package io.gitee.xjt2016.modules.api.extension;

import io.gitee.xjt2016.modules.domain.sys.User;
import jetbrick.template.JetAnnotations;

@JetAnnotations.Functions
public final class AdminCommons {
    public static User currentUser() {
//        String username = (String) SecurityUtils.getSubject().getPrincipal();
//        UserService userService = SpringUtils.getBean(UserService.class);
        return new User();
    }
}
